package com.leyou.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * <h3>leyou-project</h3>
 * <p></p>
 *
 * @author : hhw
 * @date : 2020-06-05 12:13
 **/
//扫描model层的数据model
@MapperScan(basePackages = "com.leyou.user.mapper")
@SpringBootApplication(scanBasePackages = {"com.leyou.user", "com.leyou.common.advice"})
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
